//
//  WaitPayHeadView.m
//  FKGW
//
//  Created by Mac on 2017/4/17.
//  Copyright © 2017年 song ce. All rights reserved.
//

#import "WaitPayHeadView.h"
#import "UIView+Extend.h"
@implementation WaitPayHeadView
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    //店铺名称
    self.shopNameLabel = [[UILabel alloc]initWithFrame:CGRectMake(15, 10, 0, 21)];
    self.shopNameLabel.textColor = DEF_COLOR102;
    self.shopNameLabel.font = [UIFont systemFontOfSize:14];
    NSString *content=@"齐悦家具店";
    self.shopNameLabel.text = content;
    [self.shopNameLabel sizeToFit];
    [self.contentView addSubview:self.shopNameLabel];
    
    //指示图片
    self.indicatorImageV = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"icon_gouwuche_jinru"]];
    self.indicatorImageV.left = self.shopNameLabel.right +5;
    self.indicatorImageV.top  = 13;
    [self.contentView addSubview:self.indicatorImageV];
    
}

-(void)setGroup:(WaitPayGroup *)group{
    self.shopNameLabel.text = _group.storeName;
    [self.shopNameLabel sizeToFit];
    self.indicatorImageV.left = self.shopNameLabel.right +5;

}



@end
